package com.ugrow.ugrowcommunity.activity.dormitoryselection.bean;

import java.util.ArrayList;

public class DormitoryBean {

    private int code;
    private String message;
    private Boolean result;
    private ArrayList<Data> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Boolean getResult() {
        return result;
    }

    public void setResult(Boolean result) {
        this.result = result;
    }

    public ArrayList<Data> getData() {
        return data;
    }

    public void setData(ArrayList<Data> data) {
        this.data = data;
    }

    public  class  Data{

        String sex;
        int dormitoryno;
        int capacity;

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public int getDormitoryno() {
            return dormitoryno;
        }

        public void setDormitoryno(int dormitoryno) {
            this.dormitoryno = dormitoryno;
        }

        public int getCapacity() {
            return capacity;
        }

        public void setCapacity(int capacity) {
            this.capacity = capacity;
        }
    }

}
